//
// Created by Tan Ke on 2023/11/20.
//

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int findNumbers(int* nums, int numsSize)
{
    int ret = 0;

    for (int i = 0; i < numsSize; i ++) {
        int val = nums[i];
        int cnt = 0;

        while (val > 0) {
            cnt += 1;
            val = val / 10;
        }

        if (cnt % 2 == 0) {
            ret += 1;
        }
    }

    return ret;
}

int main(void)
{
    int nums1[5] = {12, 345, 2, 6, 7896};
    printf("%d\n", findNumbers(nums1, 5));
    return 0;
}
